@import 'lib.less';
@import 'frame.less';
body{

}
.m-bd{
	width: 1190px;
	margin:auto;
}
/*顶部*/
.m-tp{
	height: 34px;
	line-height: 34px;
	background: @gray_color;
	border-bottom:1px solid darken(@gray_color, 10%);
	span.icon{
		color:@base_color;
		font-size: 16px;
	}
	ul.m-tp-nav{
		li{
			float: left;
			a{
				display: block;
				padding: 0 8px;
			}
		}
	}
}
/*logo区域*/
.m-logo{
	h1{
		width: 180px;
		height: 60px;
		background: url(../img/logo.gif) 0 0 no-repeat;
		overflow: hidden;
		text-indent: -999em;
	}
	.form-border{
		border: 2px solid @base_color;
		.u-ipt{
			border: none;
			width: 400px;
			vertical-align:middle;
			padding-top: 10px;
		}
		.u-btn{
			border: none;
			border-radius: 0;
			background: @base_color;
			box-shadow: inset 0 0 0 rgba(255,255,255,0.5);
			font-family: 'Microsoft YaHei';
		}		
	}
	.m-logo-search,.m-logo-pub,.m-logo-other{
		padding-left: 60px;
		padding-top: 12px;
	}
	.m-logo-search{
		form{
			width: 550px;	
		}
	}
	.m-logo-other{
		color: darken(@gray_color, 30%);
		padding-top: 18px;
	}
	.m-logo-pub,.m-logo-other{
		padding-left: 10px;
	}
}
/*导航*/
.m-nav{
	border-bottom: 2px solid @base_color;
	ul li{
		float: left;
		height: 34px;
		line-height: 34px;
		&.home{
			background: @base_color;
			width: 180px;
			text-align: center;
			&,& a{
				background: @base_color;
				color: @white_color;
			}
		}
		&.hover a,& a:hover{
			background: @base_color;
			color: @white_color;
		}
		a{
			display: block;
			padding: 0 15px;
		}
	}
}
/*m-sub 分类楼层*/
.m-sub{
	.m-box{
		padding-bottom: 10px;
		h4{
			height: 32px;
			line-height: 32px;
			background: darken(@gray_color, 5%);
			text-indent: 1em;
			font-size: 1.2em;
			span{
				color: @base_color;
			}
		}
		.row{
			padding-top: 10px;
		}
		.sub-thumb{
			width: 200px;
			height: 353px;
			img{
				width: 198px;
				height: 351px;
				border: 1px solid darken(@gray_color, 10%);
			}
		}
		.sub-info{
			width: 367px;
			.sub-title{
				padding: 15px 0;
				border-bottom: 1px solid darken(@gray_color, 10%);
				h5{
					border-left: 3px solid @base_color;
					height: 18px;
					line-height: 18px;
					text-indent: 1em;
				}
				.title-add{
					img{
						padding: 0 5px;
					}
				}
			}
			.sub-content{
				padding: 10px 0;
				.sub-category{
					ul{
						li{
							height: 32px;
							line-height: 32px;
						}
					}
				}
				.sub-fire{
					height: 270px;
					width: 130px;
					padding-left: 10px;
					border-left: 1px solid darken(@gray_color, 10%);
					position: relative;
					img{
						position: absolute;
						right: 0;
						bottom: 0;
					}
				}
			}
		}
	}
}
/*分类中心*/
.m-category{
	border: 1px solid darken(@gray_color, 10%);
	width: 178px;
	border-top:none;
	&>ul>li{
		&>ul.sub>li{
			border-bottom:1px dotted darken(@gray_color, 10%);
			&:last-child{
				border-bottom: none;
			}
			a{
				display: block;
				.line-height(32px;);
				color: darken(@gray_color, 60%);
				padding: 0 10px;
				&:hover{
					background: @base_color;
					color: @white_color;
					padding-left: 20px;
				}
				span.f-fr{
					display: block;
					.line-height(32px;);
				}
			}
		}
		&>a{	
			color: darken(@base_color, 10%);
			font-weight:900;
			font-size: 16px;
			display: block;
			background: lighten(@base_color, 30%);
			padding-left:10px;
		}
	}
}
/*banner区*/
.m-banner{
	width: 1000px;
	padding-top: 10px;
	#banner{
		width: 730px;
		height: 454px;
	}
	.m-banner-info{
		width: 260px;
		.sub-list{
			border: 1px solid darken(@gray_color, 10%);
			h4{
				height: 44px;
				line-height: 44px;
				position: relative;
				background:@gray_color url(../img/m-tab-line.gif) left bottom repeat-x;
				span{
					display: block;
					position: absolute;
					width: 129px;
					text-align: center;
					cursor: pointer;
					&.hover{
						background: @white_color;
						color: @base_color;
					}
					&.sub-last{
						right: 0;
						top: 0;
						border-left:1px solid #cdcdcd;
					}
				}
			}
			.sub-content ul{
				display: none;
				li a span.icon{
					color: @base_color;
				}
				li.button-show{
					padding:10px 0 20px;
					border-bottom: 1px solid darken(@gray_color, 10%);
					a.u-btn{
						border-radius: 0;
					}
				}
			}
		}
	}
}
/*首页服务引导*/
.m-service{
	.f-br();
	.sub-pic{
		width: 910px;
		padding: 0 10px;
		.sub-title{
			color: darken(@gray_color, 30%);
			text-indent: 2em;
			padding-top: 15px;
			strong{
				font-size:24px;
				color: darken(@gray_color, 100%);
			}
		}
		.sub-guide{
			text-align: center;
			background: url(../img/sub-pic-line.png) center repeat-x;
			span{
				background: @base_color;
				padding: 2px 7px;
				border-radius: 50%;
				color: @white_color;
			}
		}
		.sub-guide-info{
			.col2{
				text-align: center;
				font-weight: 900;
				padding-top: 10px;
				font-size: 16px;
				color: darken(@gray_color, 40%)
			}
		}
	}
	.sub-pub-bg{
		background: url(../img/sub-pub.gif) left center no-repeat;
		.sub-pub{
			width: 250px;
			height: 120px;
			padding: 10px 0;
			background: url(../img/sub-pub.png) right center no-repeat;
			ul{
				padding:30px 15px 30px;
				li{
					line-height: 30px;
					a:hover{
						color: @base_color;
					}
				}
			}
		}
	}
}
/*优质服务商*/
.m-quality-service{
	h4{
		height: 44px;
		line-height: 44px;
		span.sub-child{
			font-weight: normal;
			a{
				display: inline-block;
				&:hover{
					color: @base_color;
				}
			}
		}
	}
	.service-lst{
		padding: 10px 0;
		background: darken(@gray_color, 5%);
		.sub-thumb{
			img{
				width: 100%;
			}
		}
		h3{
			padding-right: 15px;
			&,& span.icon{
				display: block;
				height: 32px;
				line-height: 32px;
			}
			span.icon{
				color: @green_color;
			}
		}
		.sub-star{
			color: @base_color;
		}
		.sub-credit{
			padding-bottom: 10px;
			margin-bottom: 10px;
			color: darken(@gray_color, 40%);
			span.sub-credit-percent{
				color: darken(@base_color, 5%);
			}
			border-bottom: 1px solid darken(@gray_color, 15%)
		}
		.sub-focus{
			ul.sub-exs{
				padding-bottom: 10px;
				.sub-money{
					color: @base_color;
				}
			}
			a.u-btn{
				width: 90%;
			}
		}
	}
}
/*用户需求*/
.m-need{
	h4{
		border-bottom: 1px solid darken(@gray_color, 10%);
		height: 44px;
		line-height: 44px;
		.m-more{
			&,& a{
				color: @base_color;
				font-weight: normal;
			}
		}
		margin-bottom: 10px;
	}
	.need-lst{
		li.sub-pub{
			color: darken(@gray_color, 20%);
			span.sub-num{
				font-size: 32px;
				color: @base_color;
			}
		}
		li.sub-btn{
			padding: 5px 0;
			.u-btn{
				width: 60%;
			}
		}
		.sub-title{
			span.sub-money{
				color: @base_color;
			}
		}
		.sub-info{
			color: darken(@gray_color, 20%);
			font-size:12px;
		}
	}
}
/*用户引导之寻找服务商*/
.m-find{
	background: darken(@gray_color, 10%);
	height: 36px;
	line-height: 36px;
	color: darken(@gray_color, 50%);
	.col2{
		background: url(../img/arrow.png) right center no-repeat;
		span.sub-c1{
			color: @base_color;
			font-weight: 900;
		}
		&:last-child{
			background: none;
		}
	}
}
/*资讯中心*/
.m-news{
	h4.title{
		border-bottom: 1px solid darken(@gray_color, 10%);
		height: 44px;
		line-height: 44px;
		margin-bottom: 10px;
		span.icon{
			color: @base_color;
		}
	}
	.news-thumb{
		img{
			width: 100%;
		}
	}
	.sub-teacher{
		.sub-icon{
			img{	
				width: 120px;
				border: 1px solid @gray_color;
				border-radius: 50%;
			}
		}
		.sub-info{
			color: darken(@gray_color, 40%)
		}
	}
	.sub-class{
		h5{
			height: 44px;
			line-height: 44px;
			text-indent: 1em;
			color: @base_color;
		}
		ul.sub-class-list{
			li{
				width: 275px;
				padding-left: 9px;
				float: left;
				a{
					display: block;
					border-bottom: 1px dotted lighten(@base_color, 30%);
				}
			}
		}
	}
	.news-list{
		ul{
			li{
				border-bottom: 1px dotted lighten(@base_color, 30%) ;
				padding: 5px 0;
				span.icon{
					color: @base_color;
				}
			}
		}
	}
	.m-magzine{
		ul li{
			padding-bottom: 10px;
			.sub-thumb{
				width: 80px;
			}
			.sub-info{
				width: 133px;
				font-size: 12px;
				.sub-date{
					color: darken(@gray_color, 30%);
				}
			}
			.sub-bookmark{
				a.u-btn{
					height: 18px;
					line-height: 18px;
				}
			}
		}
	}
}
/*帮助中心*/
.m-help{
	height: 200px;
	background: darken(@gray_color, 60%) url(../img/m-help.png) left center repeat-x;
	&,& a{
		color: darken(@gray_color, 30%);
	}
	.m-box{
		span.icon{
			color: darken(@base_color, 5%);
		}
		width: 200px;
		padding-left: 10px;
		float: left;
		ul li a:hover{
			color:darken(@base_color, 20%);
		}
	}
	.m-help-contact{
		width: 340px;
		dl.contact-info{
			dt{
				font-weight: 900;
				font-size: 18px;
			}
			dd{
				margin-bottom: 10px;
				a.u-btn{
					color: @white_color;
				}
			}
		}
	}
}